import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//语言切换
import VueI18n from "vue-i18n"

Vue.use(VueI18n)

const i18n=new VueI18n({
  messages:{
    //中文
    'zh-CN':require("./lang/zh-CN"),
    'en-US':require("./lang/en-US")
  }
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
